﻿@model PMSMVC.Models.DocTask

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>DocTask</legend>

    <div class="display-label">ProjectID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ProjectID)
    </div>

    <div class="display-label">TaskName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TaskName)
    </div>

    <div class="display-label">RecordTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RecordTime)
    </div>

    <div class="display-label">Publisher</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Publisher)
    </div>

    <div class="display-label">BeginTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BeginTime)
    </div>

    <div class="display-label">PostTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PostTime)
    </div>

    <div class="display-label">Executor</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Executor)
    </div>

    <div class="display-label">Checker</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Checker)
    </div>

    <div class="display-label">TaskDetail</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TaskDetail)
    </div>

    <div class="display-label">TaskStatus</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TaskStatus)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index", new { projectID = Model.ProjectID })
    </p>
}
